/** 存放专题模块相关接口 */
import myaxios from "../MyAxios";
import URLENV from "@/http/BaseUrl";
const JSFURL = URLENV.JSFURL;

const SubjectApi = {

  /** 获取所有专题列表 */
  listSubjects(params){
    let url =   JSFURL + '/zt/zt_list'
    return myaxios.get(url ,params)
  },

  /** 新增专题 */
  add(params){
    let url = JSFURL + '/zt/zt_add'
    return myaxios.post(url,params)
  },

  /** 删除专题 */
  delete(params){
    let url = JSFURL + '/zt/zt_del'
    return myaxios.get(url,params)
  },

  

}

export default SubjectApi